//
//  DownloadTool.h
//  MapleLeaf
//
//  Created by WangZe on 15/11/30.
//  Copyright © 2015年 AntennaBabyTeam. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef NS_ENUM(NSUInteger, DownloadState) {
    Downloading = 0,
    Downloaded,
    DOwnloadError,
};


@interface DownloadTool : NSObject

+ (instancetype)shareDownloadTool;
- (void)stratDownload:(NSMutableArray *)arr nameStr:(NSString *)str;
- (void)stopDownload;
@property(nonatomic, assign)DownloadState states;

@property(nonatomic, strong)ASIHTTPRequest *request;
@property(nonatomic, strong)UIProgressView *progressView;
@end
